home *** CD-ROM | disk | FTP | other *** search
/ Windows News 2006 October / wn148cd2.iso / Windows / Se divertir / MediaPortal / Setup.msi / _89D652C6F4C5CB6EFB7B225B3B3ACD05 / _E8EF8D3BF6D444579C33C6F675E90917 < prev    next >
Text File  |  2006-03-16  |  3KB  |  111 lines

  1. <window>
  2.     <id>0</id>
  3.     <defaultcontrol>2</defaultcontrol>
  4.     <allowoverlay>yes</allowoverlay>
  5. <controls>
  6.  
  7.    <Page.Triggers>
  8.  
  9.       <!-- animate the width of the first button when the window is loaded -->
  10.       <EventTrigger RoutedEvent="Window.Loaded">
  11.          <EventTrigger.Actions>
  12.             <BeginStoryboard>
  13.                <Storyboard>
  14.                   <DoubleAnimation Storyboard.TargetName="button1" Storyboard.TargetProperty="(Button.Width)" From="0" To="500" Duration="0:0:10" />
  15.                </Storyboard>
  16.             </BeginStoryboard>
  17.          </EventTrigger.Actions>
  18.       </EventTrigger>
  19.  
  20.    </Page.Triggers>
  21.  
  22.     <control>
  23.         <description>background image</description>
  24.         <type>image</type>
  25.         <id>1</id>
  26.         <posX>0</posX>
  27.         <posY>0</posY>
  28.         <width>720</width>
  29.         <height>576</height>
  30.         <texture>background.png</texture>
  31.     </control>
  32.     <control>
  33.         <type>image</type>
  34.         <id>1</id>
  35.         <posX>320</posX>
  36.         <posY>100</posY>
  37.         <width>303</width>
  38.         <height>37</height>
  39.         <texture>Mediaportaltext.png</texture>
  40.     </control>
  41.     <control>
  42.       <description>template for panel in which all buttons should b fitted</description>
  43.         <type>image</type>
  44.         <id>1002</id>
  45.         <posX>70</posX>
  46.         <posY>150</posY>
  47.         <width>215</width>
  48.         <height>249</height>
  49.         <texture>-</texture>
  50.     </control>
  51.     <control>
  52.       <description>template for hover image</description>
  53.         <type>image</type>
  54.         <id>1000</id>
  55.         <posX>415</posX>
  56.         <posY>200</posY>
  57.         <width>128</width>
  58.         <height>128</height>
  59.         <texture>-</texture>
  60.         <visible>no</visible>
  61.     </control>
  62.     <control>
  63.         <description>template for button</description>
  64.         <type>button</type>
  65.         <id>1001</id>
  66.         <posX>79</posX>
  67.         <posY>149</posY>
  68.         <width>197</width>
  69.         <textXOff>37</textXOff>
  70.         <textYOff>2</textYOff>
  71.         <height>32</height>
  72.         <label>605</label>
  73.         <font>font16</font>
  74.         <textureFocus>button_empty.png</textureFocus>
  75.         <textureNoFocus>buttonNF_empty.png</textureNoFocus>
  76.         <visible>no</visible>
  77.     </control>
  78.     <control>
  79.         <description>template label for small font</description>
  80.         <type>label</type>
  81.         <id>1003</id>
  82.         <posX>530</posX>
  83.         <posY>490</posY>
  84.         <label></label>
  85.         <align>left</align>
  86.         <font>font16</font>
  87.         <visible>no</visible>
  88.     </control>
  89.     <control>
  90.         <description>Date</description>
  91.         <type>label</type>
  92.         <id>200</id>
  93.         <posX>600</posX>
  94.         <posY>490</posY>
  95.         <label>#date</label>
  96.         <align>right</align>
  97.         <font>font13</font>
  98.     </control>
  99.     <control>
  100.         <description>Time</description>
  101.         <type>label</type>
  102.         <id>201</id>
  103.         <posX>610</posX>
  104.         <posY>490</posY>
  105.         <label>#time</label>
  106.         <align>left</align>
  107.         <font>font13</font>
  108.     </control>
  109. </controls>
  110. </window>
  111.